package com.quwan.app.vo.dispatch;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author quan
 * @date 2022-05-25 23:42
 */
@Data
@Accessors(chain = true)
public class DispatchOrderDTO implements Serializable {
    private static final long serialVersionUID = 3426397219667439553L;
    @ApiModelProperty("派单id")
    private String id;
    @ApiModelProperty("用户id")
    private  String mId;
    @ApiModelProperty("用户昵称")
    private String nickname;
    @ApiModelProperty("用户头像")
    private String memberImg;
    @ApiModelProperty("地区")
    private String area;
    @ApiModelProperty("在线时间")
    private  String online;
    @ApiModelProperty("申请人数")
    private Integer applyCount;

    @ApiModelProperty("浏览人数")
    private Long visitCount;

    @ApiModelProperty("内容")
    private String content;

    @ApiModelProperty("分类")
    private String category;
    @ApiModelProperty("价格")
    private String  price;
    @ApiModelProperty("实名认证")
    private Boolean realNameAuth;
    @ApiModelProperty("人脸认证")
    private  Boolean faceAuth;

    @ApiModelProperty("活动地址")
    private String  address;

    @JsonFormat(pattern = "yyyy-MM-dd HH")
    @ApiModelProperty("活动开始时间")
    private LocalDateTime beginTime;

    @ApiModelProperty("活动时长")
    private String  orderTime;
}
